.box {
  .leve-1 {
    color: red;

    .leve-2 {
      color: blue;

      .leve-3 {
        color: green;
      }
    }

    &:after {
      content: ' ';
      position: "absolute";
      left: 0;
      right: 0;
    }
  }
}